/**
 * @description 环境配置封装
 * @author 刘永奇
 */

const env = import.meta.env.MODE || "prod";
const EnvConfig = {
  development: {
    baseApi: "/api",
    mockApi:
      "https://www.fastmock.site/mock/9773175579dee2de907b0fed2b0ed016/api",
  },
  test: {
    baseApi: "/api",
    mockApi:
      "https://www.fastmock.site/mock/9773175579dee2de907b0fed2b0ed016/api",
  },
  production: {
    baseApi: "/api",
    mockApi: "",
  },
};
export default {
  env,
  mock: false,
  namespace: "manager",
  ...EnvConfig[env],
};
